package com.centriole.service.workflow.service.feign;

import com.centriole.common.entity.ExRole;
import com.centriole.common.entity.ExUser;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 *  功   能：	FeignClient
 *  创建人：陈默晗
 *  时   间：2018年5月4日下午4:12:28
 */
@FeignClient("SERVICE-EX-USER")
public interface ExUserClient {

	 	@RequestMapping("/user/r")
		List<ExRole> listAllExRoles();
	 	
	 	@RequestMapping("/user/")
		List<ExUser> listAllExUsers();
	 	
	 	
}
